package com.kaiedu.spring.component;

import com.kaiedu.spring.annotation.kaiComponent;
import com.kaiedu.spring.processor.initializingBean;

/**
 * @author kai
 * @version 1.0
 * @date 2024/6/11
 * @Description
 */
@kaiComponent
public class MonsterDao implements initializingBean {

    public void hi() {
        System.out.println("hi()方法被调用========");
    }


    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("monsterDao被调用。。。。。");
    }
}
